GoXam for WPF v3
SplitIntoSubNetworks<G> Method
Northwoods.GoXam.Layout Namespace > GenericNetwork<V,E,Y> Class : SplitIntoSubNetworks<G> Method
Modify this network by splitting it up into separate subnetworks, each of which has all of its vertexes connected to each other, but not to any vertexes in any other subnetworks.
Syntax
public IEnumerator<G> SplitIntoSubNetworks<G>()
where G: new(), GenericNetwork<V,E,Y>

Type Parameters

G

Return Value

An IEnumerator of networks, sorted in order of decreasing vertex count.
Remarks
This method will first delete from this network all artifical vertexes and all edges that do not connect two different vertexes. Afterwards, this original network may be empty or may contain all of the singleton vertexes, each of which had no edges connecting it to any other vertexes.
See Also

Reference

GenericNetwork<V,E,Y> Class
GenericNetwork<V,E,Y> Members